import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import {
  Pagination,
  Progress,
  Image,
  Loading,
  Message,
  Table,
  TableColumn,
  Tabs,
  TabPane,
  Button,
  Autocomplete,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup
} from 'element-ui'
Vue.use(Pagination)
Vue.use(Progress)
Vue.use(Image)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Button)
Vue.use(Autocomplete)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Loading.directive);

Vue.prototype.$message = Message
Vue.prototype.$loading = Loading.service;

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
